package kr.ac.ml.action;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import ac.kr.ml.dao.ListDao;
import ac.kr.ml.vo.ContentVo;
import kr.ac.ml.mvc.Action;
import kr.ac.ml.mvc.HttpUtil;



public class MainAction extends Action {

	@Override
	public void execute(HttpServletRequest request, HttpServletResponse response)
			throws IOException, ServletException {
		// TODO Auto-generated method stub
		
		
//		ListDao dao =  new ListDao();
//		
//		List<ContentVo> list = new ArrayList<ContentVo>();
//		
//		list = dao.getList();
//		
//		request.setAttribute("list", list);
		System.out.println("Mainaction");
		HttpUtil.forward(request, response, "/views/main.jsp");
	}

}
